export default class MaterialModel {
    get id(): number {
        return this._id;
    }

    set id(value: number) {
        this._id = value;
    }

    get code(): string {
        return this._code;
    }

    set code(value: string) {
        this._code = value;
    }

    get name(): string {
        return this._name;
    }

    set name(value: string) {
        this._name = value;
    }

    get unit(): string {
        return this._unit;
    }

    set unit(value: string) {
        this._unit = value;
    }

    get description(): string {
        return this._description;
    }

    set description(value: string) {
        this._description = value;
    }

    get supplier(): number {
        return this._supplier;
    }

    set supplier(value: number) {
        this._supplier = value;
    }

    get enabled(): boolean {
        return this._enabled;
    }

    set enabled(value: boolean) {
        this._enabled = value;
    }

    private _id!: number;
    private _code!: string;
    private _name!: string;
    private _unit!: string;
    private _description!: string;
    private _supplier!: number;
    private _enabled!: boolean;
}